package com.lin.mapper;

import com.lin.entity.RoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 角色菜单关联表 Mapper 接口
 * </p>
 *
 * @author Lin
 * @since 2022-03-01
 */
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {

    /**
     * 选择通过角色id
     *
     * @param id id
     * @return {@link List}<{@link RoleMenu}>
     */
    List<RoleMenu> selectByRoleId(Long id);
}
